#pragma once
#include <Windows.h>

class ThreadTask
{
public:
	ThreadTask();
	~ThreadTask(void);

private:
	HANDLE	mProcEvent;
		
	HANDLE	mThreadHnd;
	DWORD	mThreadId;
	bool	mThreadHalt;
	int     mInterval;
	bool    mStarted;
	
public:
	void ProcessTask();
	void Start(int interval);
	void Stop();
	virtual void Process() {};
};
